﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="CreatePost.aspx.cs" Inherits="TanzimSaqib.NoBrainer.Sample.Account.CreatePost" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Create Post</h1>
    
    <center>
        <div style="text-align: left; width: 800px;">
            <p>Title:<br /><asp:TextBox runat="server" Model="Title" Width="800px"></asp:TextBox></p>
                <span runat="server" class="<%# Cms[&quot;spnTitleError&quot;].CssClass %>" Cms-Error="Title">
                    <%# Cms["spnTitleError"].Content%>
                </span>
            <p>Body:<br /><asp:TextBox runat="server" Model="Body" TextMode="MultiLine" Width="800px" Height="400px"></asp:TextBox></p>
                <span runat="server" class="<%# Cms[&quot;spnBodyError&quot;].CssClass %>" Cms-Error="Body">
                    <%# Cms["spnBodyError"].Content%>
                </span>
            <p>Tags: <asp:TextBox runat="server" Model="TagList" Width="800px"></asp:TextBox>
                <span runat="server" class="<%# Cms[&quot;spnTagListError&quot;].CssClass %>" Cms-Error="TagList">
                    <%# Cms["spnTagListError"].Content%>
                </span>
            </p>
            <p>Status: <asp:DropDownList ID="drpStatus" Model="Status" runat="server" /></p>
            <p><input type="submit" value="Post" style="width: 100px" /></p>
        </div>
    </center>
</asp:Content>
